;遮断装置 ////////////////////,,,,

CreateMeshBuilder,,,,
AddVertex,0,0.6,-0.225,
AddVertex,-0.45,0.6,-0.225,
AddVertex,-0.45,0.6,0.225,
AddVertex,0,0,-0.225,
AddVertex,-0.45,0,-0.225,
AddVertex,-0.45,0,0.225,
AddVertex,0,0.6,0.225,
AddFace,1,0,3,4
AddFace,2,1,4,5
AddFace,2,6,0,1
GenerateNormals,,,,
Translate,2.6,0.3,3.3,
LoadTexture,Tiger.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,0,1.5,
SetTextureCoordinates,4,0.5,1.5,
SetTextureCoordinates,5,1,1.5,

CreateMeshBuilder,,,,
AddVertex,0,0.3,-0.05,
AddVertex,-0.1,0.3,-0.05,
AddVertex,-0.1,0.3,0.05,
AddVertex,0,-0.3,-0.05,
AddVertex,-0.1,-0.3,-0.05,
AddVertex,-0.1,-0.3,0.05,
AddFace,1,0,3,4
AddFace,2,1,4,5
GenerateNormals,,,
Translate,2.6,0,3.3
LoadTexture,Tiger.bmp,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.125,0
SetTextureCoordinates,2,0.25,0
SetTextureCoordinates,3,0,2
SetTextureCoordinates,4,0.125,2
SetTextureCoordinates,5,0.25,2

;遮断棒 ////////////////////,,,

CreateMeshBuilder,,,
AddVertex,-0.03,-0.03,0
AddVertex,0.03,0.03,0
AddVertex,0.03,0.03,3.3
AddVertex,-0.03,-0.03,3.3,
AddFace,3,2,1,0
GenerateNormals,,,,
Translate,2.6,0.75,0,
LoadTexture,Tiger.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0,4,
SetTextureCoordinates,3,0,4,

;柱 ////////////////////,,,,

CreateMeshBuilder,,,,
AddVertex,0.045,-0.3,-0.045,
AddVertex,0.045,3.3,-0.045,
AddVertex,-0.045,3.3,0.045,
AddVertex,-0.045,-0.3,0.045,
AddFace,3,2,1,0
GenerateNormals,,,,
Translate,3.8,0,3.6,
LoadTexture,Tiger.bmp,,,
SetTextureCoordinates,0,0,8,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,8,

CreateMeshBuilder,,,,
Cylinder,4,0.06,0.3,0.15
Translate,3.8,-0.225,3.6,
SetColor,32,32,32,

;ランプ ////////////////////,,,,

CreateMeshBuilder,,,,
Cylinder,6,0.2,0.2,0.15
Rotate,1,0,1,90
Translate,3.95,2.1,3.15,
SetColor,32,32,32,

CreateMeshBuilder,,,,
Cylinder,6,0.2,0.2,0.15
Rotate,1,0,1,90
Translate,3.95,2.1,4.05,
SetColor,32,32,32,

;ふみきりちゅうい ////////////////////,,,,

CreateMeshBuilder,,,,
Cube,0.15,0.15,0.225,
Translate,4.04,1.2,3.6,
SetColor,32,32,32,

;クロス ////////////////////,,,,

CreateMeshBuilder,,,,
AddVertex,0,-0.09,-0.6,
AddVertex,0,0.09,-0.6,
AddVertex,0,0.09,0.6,
AddVertex,0,-0.09,0.6,
AddFace,3,2,1,0
SetColor,192,168,64,
GenerateNormals,,,,
Rotate,1,0,0,30
Translate,3.89,2.85,3.6,

CreateMeshBuilder,,,,
AddVertex,0,-0.09,-0.6,
AddVertex,0,0.09,-0.6,
AddVertex,0,0.09,0.6,
AddVertex,0,-0.09,0.6,
AddFace,3,2,1,0
SetColor,192,168,64,
GenerateNormals,,,,
Rotate,1,0,0,-30
Translate,3.89,2.85,3.6,
